#!/usr/bin/env bash

git pull

sleep 3

mvn clean package -Dmaven.test.skip=true

sudo docker login -u xuxin@thinksource -p Xuegongzixuxin@ registry.cn-hangzhou.aliyuncs.com

sudo docker build -t registry.cn-hangzhou.aliyuncs.com/thinksource/think-ehr-api .

sudo docker push registry.cn-hangzhou.aliyuncs.com/thinksource/think-ehr-api
